package net.slidinglive.utilities.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Sebastian Hoffmann <bo.hoffi@gmail.com>
 */
public class Conversation {

    private int conversationID;

    private final List<Message> messages;

    public Conversation() {

        this.messages = new ArrayList<Message>();
    }

    public Conversation(final int conversationId, final List<Message> messages) {

        this.conversationID = conversationId;
        this.messages = messages;
    }

    /**
     * @return the conversationID
     */
    public int getConversationID() {

        return this.conversationID;
    }

    /**
     * @param conversationID
     *            the conversationID to set
     */
    public void setConversationID(int conversationID) {

        this.conversationID = conversationID;
    }

    /**
     * @return the messages
     */
    public List<Message> getMessages() {

        return this.messages;
    }
}